#ifndef THREADS_H
#define THREADS_H
/*---------------------------------------------------------------------------*/
#include <QtGui>
#include <QThread>
#include <vector>
/*---------------------------------------------------------------------------*/
class MenuAction;
class BrowserBox;
class FileNode;
/*---------------------------------------------------------------------------*/
class ActionThread : public QThread
{
	Q_OBJECT
		
	public:
	
						ActionThread(MenuAction *ac);
	
	protected:
	
	MenuAction			*action;
	
	void				run();
	
	signals:
	
	void				threadEnded();
	
	
};
/*---------------------------------------------------------------------------*/
class BrowseThread : public QThread
{
	Q_OBJECT
		
	public:
	
						BrowseThread(BrowserBox *flw, FileNode *fn);
	
	protected:
	
	BrowserBox		*flw;
	FileNode			*filenode;
	
	void				run();
	
	signals:
	void				threadEnded();
	
	
};
/*---------------------------------------------------------------------------*/
#endif
